<?php
$this->breadcrumbs=array(
	'Pesanan'=>array('index','name'=>Yii::app()->user->name),
	$model->ID_Pesanan,
);

$this->menu=array(
	array('label'=>'Daftar Pesanan', 'url'=>array('index', 'name'=>Yii::app()->user->name)),
	array('label'=>'Pemesanan Tiket', 'url'=>array('create')),
	array('label'=>'Perbarui Pesanan', 'url'=>array('update', 'id'=>$model->ID_Pesanan)),
	array('label'=>'Hapus Pesanan', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ID_Pesanan),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Mengelola Pesanan', 'url'=>array('admin'), 'visible'=>(Yii::app()->user->isAdmin())),
);
?>

<h1>Buka Pesanan #<?php echo $model->ID_Pesanan; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'ID_Pesanan',
		'Jam_Keberangkatan',
		'Tgl_Pesanan',
		'Asal',
		'Tujuan',
		'No_tempat_duduk',
		'Username',
	),
)); ?>
